import 'package:bxultimate/data/request/user_request.dart';
import 'package:get/get.dart';

import 'state.dart';

class ScanLoginWebController extends GetxController {
  final ScanLoginWebState state = ScanLoginWebState();


  final key = Get.arguments['key'];

  @override
  void onInit() {
    super.onInit();

    UserRequest.scanConfirm(key);
  }

  confirm()async{
    await UserRequest.scanCodeUserLogin(key);
    Get.back();
  }


}
